package com.gxa.logistics.mapper;

import com.gxa.logistics.domain.dto.DepartmentReqListDTO;
import com.gxa.logistics.domain.dto.DepartmentSaveDTO;
import com.gxa.logistics.domain.dto.DepartmentUpdateDTO;
import com.gxa.logistics.domain.vo.DepartmentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<DepartmentVO> findDepartmentByWhere(DepartmentReqListDTO departmentReqListDTO);

    void insertDepartment(DepartmentSaveDTO departmentSaveDTO);

    void updateDepartment(DepartmentUpdateDTO departmentUpdateDTO);

    void deleteDepartmentById(Integer departmentId);

    List<DepartmentVO> findAll();


//    void insertDepartment(DepartmentSaveDTO departmentSaveDTO);
//
//    void updateDepartment(DepartmentUpdateDTO departmentUpdateDTO);
//
//    void deleteDepartmentById(Integer departmentId);
}
